﻿@model GameSchoolApplication.Models.Person

@{
    ViewBag.Title = "Breyta";
	Layout = "~/Views/Shared/_AdministratorLayout.cshtml";
}
<section id="SingleMainContent">
<h2>Breyta notanda</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend></legend>

        @Html.HiddenFor(model => model.Id)
        @Html.Partial("_Form")
        <p>
            <input type="submit" value="Vista" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Til baka í lista", "Index")
</div>
</section>

